/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.hotel.test.model;

import com.liferay.portal.model.ModelWrapper;

/**
 * <p>
 * This class is a wrapper for {@link Local}.
 * </p>
 *
 * @author    Vien-IT
 * @see       Local
 * @generated
 */
public class LocalWrapper implements Local, ModelWrapper<Local> {
	public LocalWrapper(Local local) {
		_local = local;
	}

	public Class<?> getModelClass() {
		return Local.class;
	}

	public String getModelClassName() {
		return Local.class.getName();
	}

	/**
	* Returns the primary key of this local.
	*
	* @return the primary key of this local
	*/
	public long getPrimaryKey() {
		return _local.getPrimaryKey();
	}

	/**
	* Sets the primary key of this local.
	*
	* @param primaryKey the primary key of this local
	*/
	public void setPrimaryKey(long primaryKey) {
		_local.setPrimaryKey(primaryKey);
	}

	/**
	* Returns the local ID of this local.
	*
	* @return the local ID of this local
	*/
	public long getLocalId() {
		return _local.getLocalId();
	}

	/**
	* Sets the local ID of this local.
	*
	* @param localId the local ID of this local
	*/
	public void setLocalId(long localId) {
		_local.setLocalId(localId);
	}

	/**
	* Returns the user ID of this local.
	*
	* @return the user ID of this local
	*/
	public long getUserId() {
		return _local.getUserId();
	}

	/**
	* Sets the user ID of this local.
	*
	* @param userId the user ID of this local
	*/
	public void setUserId(long userId) {
		_local.setUserId(userId);
	}

	/**
	* Returns the user uuid of this local.
	*
	* @return the user uuid of this local
	* @throws SystemException if a system exception occurred
	*/
	public java.lang.String getUserUuid()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _local.getUserUuid();
	}

	/**
	* Sets the user uuid of this local.
	*
	* @param userUuid the user uuid of this local
	*/
	public void setUserUuid(java.lang.String userUuid) {
		_local.setUserUuid(userUuid);
	}

	/**
	* Returns the user name of this local.
	*
	* @return the user name of this local
	*/
	public java.lang.String getUserName() {
		return _local.getUserName();
	}

	/**
	* Sets the user name of this local.
	*
	* @param userName the user name of this local
	*/
	public void setUserName(java.lang.String userName) {
		_local.setUserName(userName);
	}

	/**
	* Returns the create date of this local.
	*
	* @return the create date of this local
	*/
	public java.util.Date getCreateDate() {
		return _local.getCreateDate();
	}

	/**
	* Sets the create date of this local.
	*
	* @param createDate the create date of this local
	*/
	public void setCreateDate(java.util.Date createDate) {
		_local.setCreateDate(createDate);
	}

	/**
	* Returns the modified date of this local.
	*
	* @return the modified date of this local
	*/
	public java.util.Date getModifiedDate() {
		return _local.getModifiedDate();
	}

	/**
	* Sets the modified date of this local.
	*
	* @param modifiedDate the modified date of this local
	*/
	public void setModifiedDate(java.util.Date modifiedDate) {
		_local.setModifiedDate(modifiedDate);
	}

	/**
	* Returns the local name of this local.
	*
	* @return the local name of this local
	*/
	public java.lang.String getLocalName() {
		return _local.getLocalName();
	}

	/**
	* Sets the local name of this local.
	*
	* @param localName the local name of this local
	*/
	public void setLocalName(java.lang.String localName) {
		_local.setLocalName(localName);
	}

	/**
	* Returns the introduce of this local.
	*
	* @return the introduce of this local
	*/
	public java.lang.String getIntroduce() {
		return _local.getIntroduce();
	}

	/**
	* Sets the introduce of this local.
	*
	* @param introduce the introduce of this local
	*/
	public void setIntroduce(java.lang.String introduce) {
		_local.setIntroduce(introduce);
	}

	/**
	* Returns the image of this local.
	*
	* @return the image of this local
	*/
	public java.lang.String getImage() {
		return _local.getImage();
	}

	/**
	* Sets the image of this local.
	*
	* @param image the image of this local
	*/
	public void setImage(java.lang.String image) {
		_local.setImage(image);
	}

	public boolean isNew() {
		return _local.isNew();
	}

	public void setNew(boolean n) {
		_local.setNew(n);
	}

	public boolean isCachedModel() {
		return _local.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_local.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _local.isEscapedModel();
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _local.getPrimaryKeyObj();
	}

	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
		_local.setPrimaryKeyObj(primaryKeyObj);
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _local.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_local.setExpandoBridgeAttributes(serviceContext);
	}

	@Override
	public java.lang.Object clone() {
		return new LocalWrapper((Local)_local.clone());
	}

	public int compareTo(com.hotel.test.model.Local local) {
		return _local.compareTo(local);
	}

	@Override
	public int hashCode() {
		return _local.hashCode();
	}

	public com.liferay.portal.model.CacheModel<com.hotel.test.model.Local> toCacheModel() {
		return _local.toCacheModel();
	}

	public com.hotel.test.model.Local toEscapedModel() {
		return new LocalWrapper(_local.toEscapedModel());
	}

	@Override
	public java.lang.String toString() {
		return _local.toString();
	}

	public java.lang.String toXmlString() {
		return _local.toXmlString();
	}

	public void persist()
		throws com.liferay.portal.kernel.exception.SystemException {
		_local.persist();
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedModel}
	 */
	public Local getWrappedLocal() {
		return _local;
	}

	public Local getWrappedModel() {
		return _local;
	}

	public void resetOriginalValues() {
		_local.resetOriginalValues();
	}

	private Local _local;
}